﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Assignment2.Actions
{
    class GettingHungryAction:Action
    {
        private Integer hungryValue;

        public GettingHungryAction(ref Integer hungryValue)
        {
            this.hungryValue = hungryValue;
        }

        public void DoAction()
        {
            hungryValue++;
        }
    }
}
